package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by chengjiarui on 2019-06-27.
 */
@Data
@ApiModel
public class BannerEditRequest {
    @ApiModelProperty("ID")
    private Integer id;
    private Integer bannerType;
    @ApiModelProperty(value = "资源路径", required = true)
    @NotNull
    private String source;
    @ApiModelProperty(value = "资源类型：0 图片", required = true)
    @NotNull
    private Integer type;
    @ApiModelProperty("事件：0 无 1 商品详情")
    @NotNull
    private Integer event;
    @ApiModelProperty("事件参数")
    private String eventId;
    private String memo;
    @ApiModelProperty("排序")
    private Integer sort;
    private Integer refId;
}
